/**
 * Copyright (c) 2016 Lenovo Group
 * All Rights Reserved.
 * 
 * Project Name:event-recorder
 * Create Time: 2016年4月28日 下午3:57:59
 */
package com.lenovo.lmrp.server.eventrecorder.domain.ticket;

import java.util.List;

import com.lenovo.lmrp.api.model.entity.ExceptionEventPO;

/**
 * @author zhangzheng
 *
 */
public class ExceptionEventBatchWriter extends BatchWriter<ExceptionEventPO> {
    
    private IEventRepository repository;
    public ExceptionEventBatchWriter(IEventRepository repository) {
        super();
        this.repository = repository;
    }
    
    @Override
    public void batchStore(List<ExceptionEventPO> poList) {
        repository.storeExceptionEvent(poList);
    }
}
